import { IResultOr as IResult, IRoomListParams } from "@/api/interface";
import { http } from "@/utils/http";

// 首页房屋列表接口
export function fetchRoomList(params: IRoomListParams): Promise<IResult> {
  return http.httpRequestGet("/release/api/room/room/getRoomList", params);
}
